package main

import (
    "com.wxp.trade/config"
    trade "com.wxp.trade/kitex_gen/com/wxp/trade/tradeservice"
    "log"
)

func main() {
    // 初始化配置
    config.MustInit()

    svr := trade.NewServer(new(TradeServiceImpl))

    err := svr.Run()

    if err != nil {
        log.Println(err.Error())
    }
}
